<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.0">
  <div id="productSearchResult">
  <hr color="red">
	<table>
		<c:forEach var="product" items="${products.product}">
			<tr>
				<td>${product.stock}</td>
				<td><a href="#" onClick="viewProductDetail(${product.id})">${product.name}</a></td>
			</tr>
		</c:forEach>
	</table>
	
</div>